body{
    padding: 0;
    margin: 0;
    border: 0;
}
html,body{
    height: 100%;
}
@supports (padding-bottom:constant(safe-area-inset-bottom)){
    body{
        padding-bottom:constant(safe-area-inset-bottom);
    }
}

@supports (padding-bottom:env(safe-area-inset-bottom)){
    body{
        padding-bottom:env(safe-area-inset-bottom);
    }
}
.des{
    line-height: 0.5rem;
    background: #F0F0F0;
    padding: 0 0.3rem;
    font-size: 0.24rem;
    color: #FF9800;
}
.tips{
    color: #FF9800;
    font-size: 0.24rem;
}
.required::before{
    content: '*';
    color: red;
    margin-right: 5px;
}

.fw-block{
    margin: 40px 10px;
    border-top: 1px  solid #ddd;
    border-left: 1px  solid #ddd;
    border-right: 1px  solid #ddd;
    position: relative;
    padding-top: 20px;
}
.fw-block-title{
    font-size: .3rem;
    font-weight: 600;
    margin-top: 10px;margin-left: 10px;
    position: absolute;
    top: -35px;
    display: inline-block;
    background: #fff;
    padding: 10px 10px 0 10px;
}
.fw-row{
    display: flex;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.fw-row:hover{
    background: #E0FFFF;
}
.fw-row-vertical{
    flex-direction: column;
    align-items: flex-start;
   
}
.fw-row-vertical .title{
    margin-left: 10px;
}
.fw-row-vertical.required::before{
    position: absolute;
}
.fw-row-vertical .fw-input{
    flex: auto;
}
.fw-input-outter-div{
    width: 100%;
    min-width: 100px;
    position: relative;
    flex: 1;
}
.fw-input{
    background: none;
    border: none;
    outline: none;
    text-align: right;
    text-align-last: right;
    line-height: .5rem;
    position: absolute;
    color: #4B6F91;
    min-width: 100px;
    width: 100%;
    height: 100%;
    resize: none;
    overflow: hidden;
    font-size: .25rem;
}
.fw-input-inner-div{
    position: relative;
    line-height: .5rem;
    visibility: hidden;
    white-space: pre-wrap;
}
.leftToRight .fw-input{
    text-align: left;
    text-align-last: left;
}
.fw-select-input:empty::before{
    content: '请选择';
    color: #ddd;
}
.fw-other-input:empty::before{
    content: '请填写';
    color: #ddd;
}
.fw-select{
    position: relative;
    display: inline-block;
    flex: 1;
}
.fw-option{
    position: absolute;
    background: #fefefe;
    min-width: 100px;
    right: -10px;
    max-height: 350px;
    overflow-y: auto;
    z-index: 100;
    border: 1px solid #ddd;
}
.fw-option-item{
    border-bottom: 1px solid #eee;
    padding: 10px;
    text-align: right;
    text-align-last: right;
    cursor: pointer;
}
.fw-option-item:hover{
    background: #f5f7fa;
}
.fw-dialog-wrapper{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    margin: 0;
    z-index: 190;
    background: rgb(0 0 0 / 30%);
}
.fw-dialog{
    position: fixed;
    width: 50%;
    max-width: 800px;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    border: 1px solid #ddd;
    background: #fff;
    z-index: 200;
    height: 50%;
    box-shadow: 0 1px 3px rgb(0 0 0 / 30%);
}
.fw-dialog-title{
    height: 1.2rem;
    line-height: 1.2rem;
    margin: 0 10px;
}
.fw-dialog-body{
    color: #606266;
    margin: 0 10px;
}
.fw-dialog-footer{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1.2rem;
    line-height: 1.2rem;
    text-align: right;
}
.fw-dialog-btn{
    background: #4395ff;
    display: inline-block;
    height: .7rem;
    line-height: .7rem;
    padding: 0 10px;
    border: 2px solid #4395ee;
    color: #fff;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 20px;
}
.fw-footer-fixed{
    position: fixed;
    width: 100%;
    height: 70px;
    line-height: 50px;
    background: #fff;
    bottom: 0;
    text-align: center;
    cursor: pointer;
}


.fw-button{
    padding: 0 15px;
    margin: 0 10px;
    height: 40px;
    line-height: 40px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    position: relative;
    border: 1px solid #aaa;
}
.fw-button.primary{
    background: #4395ee;
    color: #fff;
}
.fw-radio{
    display: flex;
    flex: 1;
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.fw-radio-item{
    margin-right: 10px;
    display: flex;
    align-items: baseline;
}
.fw-radio-item .checked{
    background: #409eff;
}
.fw-radio-item-selectbox{
    width: .2rem;
    height: .2rem;
    border: 1px solid #111;
    border-radius: .1rem;
    flex-shrink: 0;
}
.fw-radio-item-text{
    flex-shrink: 0;
}
.fw-tab{
    display: flex;
    flex-wrap: wrap;
}
.fw-tab-item{
    flex: 1;
}
.fw-tab .active{
    background: #409eff;
    color: #fff;
}
.fw-infinite-scroll{
    overflow-y: auto;
}
.fw-search{
    display: flex;
    align-items: center;
    margin: 10px;
    justify-content: center;
    box-sizing: border-box;
}
.fw-search-input{
    height: 40px;
    padding: 0 10px;
    margin: 0;
    outline: none;
    border: 1px solid #ddd;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    width: calc(100vw - 100px);
    max-width: 500px;
    -webkit-appearance: none;
}
.fw-search-btn{
    height: 40px;
    line-height: 40px;
    width: 50px;
    background: #409eff;
    color: #fff;
    text-align: center;
    border: 1px solid #ddd;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    cursor: pointer;
}
.fw-date{
    flex: 1;
    width: 100%;
    background: none;
    appearance:none;
    background: #fff;
}
@media screen and (min-width:500px){
    .fw-date{
        position: relative;
    }
}
.date-box{
    padding: 0 .5rem;
    background: #fff;
    border: 1px solid #ddd;
    text-align: center;
    position: absolute;
    right: 0;
    box-sizing: border-box;
    z-index: 1000;
}
.date-box .selected-date-year-and-month {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    height: .9rem;
    align-items: center;
   
}
.selected-date-year-and-month .selected-content{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.selected-date-year-and-month .selected-btn{
    background: #409eff;
    color: #fff;
}
.selected-date-year-and-month .selected-box{
    display: inline-block;
    border: 1px solid #ccc;
    width: .8rem;
    height: .4rem;
    line-height: .4rem;
    cursor: pointer;
}
.selected-date-year-and-month .selected-box.active{
    border: 1px solid #409eff;
}

.date-box .select-box{
    height: 3rem;
    box-sizing: border-box;
    width: 6rem;
    margin: auto;
}
.date-box .select-box .active{
    background: #409eff;
    color: #fff;
}
.date-box .date-year,.date-month,.date-day{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
}
.date-box .date-year .page{
    position: absolute;
    width: .25rem;
    height: .25rem;
    border-left: 1px solid #666;
    border-top: 1px solid #666;
    top: 50%;
    bottom: 50%;
    margin: auto;
    cursor: pointer;
}
.date-box .date-year .left{
    left: -0.3rem;
    transform:rotate(-45deg);
}

.date-box .date-year .right{
    right: -0.3rem;
    transform:rotate(145deg);
}
.date-box .date-day-item,.date-year-item,.date-month-item{
    height: .7rem;
    line-height: .7rem;
    border: 1px solid #ddd;
    margin: 0 -1px -1px 0;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
}
.date-box .date-year-item{
    width: 1.2rem;
}
.date-box .date-month-item{
    width: 1.2rem;
}
.date-box .date-day-item{
    width: .6rem;
}
.fw-switch .box{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.fw-switch .btn{
    width: .6rem;
    height: .3rem;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: .3rem;
    position: relative;
    cursor: pointer;
    margin-right: 5px;
}
.fw-switch .inner-btn{
    width: .3rem;
    height: 100%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: .3rem;
    background: #aaa;
    position: absolute;
    top: 0;
}
.fw-switch .inner-btn.act{
    background: #409eff;
    border: 1px solid #409eff;
    right: 0;
}